package main

func maximumWealth(accounts [][]int) int {
	max := 0
	for _, account := range accounts {
		s := 0
		for _, i2 := range account {
			s += i2
		}
		if s > max {
			max = s
		}
	}
	return max
}
